home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Science / Gnuplot 3.5 / docs / lasergnu.1 < prev    next >
Text File  |  1993-11-03  |  2KB  |  70 lines

  1. .TH LASERGNU l 
  2. .SH NAME
  3. lasergnu \- send gnuplot output to a printer
  4. .SH SYNOPSIS
  5. .B lasergnu
  6. [ flags ] plot-command...
  7. .SH DESCRIPTION
  8. .I lasergnu
  9. runs
  10. .IR gnuplot (1)
  11. in an environment to produce typeset output on an IMAGEN  or
  12. Postscript printer.
  13. .PP
  14. The 
  15. .B gnuplot
  16. commands
  17. .B plot-command
  18. are performed and the output sent to the printer. 
  19. If the 
  20. .B -f
  21. option specifies a file for input, the plot command is optional. 
  22. The command-line plot commands are executed prior to any in the
  23. file(s).
  24. .PP
  25. For example, to plot the function
  26. .I sin(x)
  27. from -1 to +1, and to use printer im1, use the command
  28. .br
  29. .nf
  30.     lasergnu -Pim1 'plot [-1:1] sin(x) with lines'
  31. .fi
  32. To execute the gnuplot command file
  33. .I myplot,
  34. on the postscript printer lw0, use the command
  35. .br
  36. .nf
  37.     lasergnu -Plw0 -p -f myplot
  38. .fi
  39. The following switches are recognized:
  40. .TP
  41. .BI \-p
  42. Use the postscript language to make the plot, instead of Impress.
  43. This is for use on Postscript printers only. This uses a double-size
  44. plot in landscape mode as the default.
  45. .TP
  46. .BI \-P\0 printer
  47. The output of this program is intended for 
  48. .I printer.
  49. \ If the file is being spooled, this determines the printer it is spooled
  50. to (default: $LASER).
  51. Be sure to use the -p flag if the printer is a postscript printer.
  52. .TP
  53. .BI \-f\0 file
  54. Take gnuplot commands from the named file.
  55. Multiple files  may be supplied with separate -f options.
  56. .TP
  57. .BI  \-t\0 title
  58. Specify the title of the plot.
  59. .TP
  60. .BI \-b
  61. Do not print a banner page.
  62. .TP
  63. .BI \-J
  64. Do not print a banner page.
  65. .TP
  66. .B \-help
  67. Prints a list of options.
  68. .SH SEE ALSO
  69. gnuplot(l), lpr(1)
  70.